﻿<Window x:Class="EffectEd.SettingsDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Settings" Height="475" Width="445" WindowStartupLocation="CenterScreen" xmlns:my="clr-namespace:EffectEd" WindowStyle="SingleBorderWindow">
    <DockPanel LastChildFill="True">
        <GroupBox Header="General options" Name="groupBoxGeneral" DockPanel.Dock="Top" Height="58">
            <DockPanel>
            <CheckBox Content="Save changes without asking" HorizontalAlignment="Left" Margin="12,0,0,0" Name="checkBoxSaveOnClose" VerticalAlignment="Top" Width="178" Grid.ColumnSpan="2" ToolTip="Always saves a non-new document without asking for confirmation when EffectEd is closed." />
            <CheckBox Content="Show line numbers" Name="checkBoxShowLineNumbers" ToolTip="Show line numbers in the code editor." Width="178" />
            </DockPanel>
        </GroupBox>
        <GroupBox Header="Default compiler settings" Name="groupBoxCompilerSettings" DockPanel.Dock="Top" >
            <my:CompilerSettingsControl x:Name="compilerSettingsControl1" />
        </GroupBox>
        <DockPanel LastChildFill="False">
            <Button Content="Cancel" DockPanel.Dock="Right" Width="50" Margin="10,0,0,0" IsCancel="True" Click="Button_Click_1" />
            <Button Content="OK" DockPanel.Dock="Right" Width="50" IsDefault="True" Click="Button_Click" />
        </DockPanel>        
    </DockPanel>
</Window>
